package com.shine.demo.service;

import com.shine.demo.entity.SysUser;
import com.shine.demo.common.result.Result;

public interface IUserService {

    /**
     * 返回名字
     * @param name
     * @return
     */
    Result getUserName(String name);

    /**
     * 测试服务降价
     * @param name
     * @return
     */
    Result demotion(String name);

    /**
     * 注册
     * @param user
     * @return
     */
    Result register(SysUser user);
}
